package model

import "zsc-boot/core/orm"

type CustomerFollowRemind struct {
	orm.Model
	UserId       uint     `json:"userId" gorm:"column:user_id;not"`
	Date         string   `json:"date" gorm:"column:date;default:''"`
	Content      string   `json:"content" gorm:"column:content;default:''"`
	CustomerId   uint     `json:"customerId" gorm:"column:customer_id"`
	CustomerInfo Customer `json:"customerInfo" gorm:"foreignKey:CustomerId"`
}

func (CustomerFollowRemind) TableName() string {
	return "customer_follow_remind"
}

func (CustomerFollowRemind) TableComment() string {
	return "跟进提醒记录"
}
